﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AiChiTu.TraceabilitySystem.Domain.RBAC
{
	/// <summary>
	/// 用户表
	/// </summary>
	public class UserInfo
	{
		/// <summary>
		/// 用户ID
		/// </summary>
		[Key]
		public int UserInfoId { get; set; }
		/// <summary>
		/// 用户名
		/// </summary>
		public string UserInfoName { get; set; }
		/// <summary>
		/// 密码
		/// </summary>
		public string UserInfoPassword { get; set; }
		/// <summary>
		/// 昵称
		/// </summary>
		public string UserInfoNickname { get; set; }
		/// <summary>
		/// 登录错误次数
		/// </summary>
		public int loginErrorNum { get; set; }
		/// <summary>
		/// 状态
		/// true 启用
		/// false 禁用
		/// </summary>
		public bool Status { get; set; }
	}
}
